package com.ycp.erp.employee.model.bean;

import com.one.common.utils.pinyin.CharacterParser;

import java.io.Serializable;

/**
 * Class Des:
 * Created by bjh on 2021/9/16.
 */
public class Employee implements Serializable {
    private String name;
    private String phone;
    private String roleName;
    private String date;
    private int statue;

    public Employee(String name, String phone, String roleName, String date, int statue) {
        this.name = name;
        this.phone = phone;
        this.roleName = roleName;
        this.date = date;
        this.statue = statue;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getStatue() {
        return statue;
    }

    public void setStatue(int statue) {
        this.statue = statue;
    }

    public String getNamePY() {
        return CharacterParser.getInstance().getSelling(name);
    }

    public void setNamePY(String namePY) {
    }
}
